package com.lihao.wanandroid.ui.main

import android.app.Application
import androidx.lifecycle.MutableLiveData
import com.lihao.jetpackcore.base.BaseViewModel

/**
 * Created by lihao on 2020/5/18.
 * Describe:
 */
class MainViewModel(application: Application) : BaseViewModel(application) {

    val curPageLiveData : MutableLiveData<Int> = MutableLiveData()

    fun setCurPage(nowPage: Int){
        curPageLiveData.value = nowPage
    }

}